<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script type="text/javascript" src="jquery-1.11.1.min.js"></script>
<title>Insert title here</title>
</head>
<body>


        <div>用户登录表单</div>  
        <form name="addform" action="/test/add">  
            id: <input id="cityId"  type="text" name="id"><br/>    
            cityName: <input id="cityName" type="text" name="cityName"><br/>    
            
            <input type="submit">    
        </form>  

<script type="text/javascript">

$(function(){
	
	var city = ${city};
	console.log(city.id+":"+city.cityName);
	$("#cityId").val(city.id);
	$("#cityName").val(city.cityName);
	
	
	
})


</script>


</body>
</html>